CVE-2025-25474
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)
committerÉtienne Mollier <emollier@debian.org>
Thu, 12 Feb 2026 18:47:48 +0000 (19:47 +0100)
commitbc51b80baa2c75a46fee3186aff4deee25fba9a5
treef5b434d1121ee4f7592809ffad0359488dce9bdd
parenteb64d9fb3511fbbeaa8633f589d5f100d264cdb2
CVE-2025-25474

commit 1d205bcd307164c99e0d4bbf412110372658d847
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date:   Tue Jan 21 11:12:28 2025 +0100

    Fixed another issue with invalid DICOM images.

    Fixed issue when processing an invalid DICOM image where the number of
    pixels stored does not match the expected number of pixels (too less)
    and the combination of BitsAllocated and BitsStored is really unusual
    (e.g. 1 bit stored, but 52 bits allocated). In cases where the last
    pixel (e.g. a single bit) does not fit into the buffer of the input
    pixel data, a buffer overflow occurred on the heap. Now, the last entry
    of the buffer is filled with the smallest possible value (e.g. 0 in case
    of unsigned data).

    Thanks to Ding zhengzheng <xiaozheng.ding399@gmail.com> for the report
    and the sample file (PoC).

Gbp-Pq: Name 0010-CVE-2025-25474.patch
dcmimgle/include/dcmtk/dcmimgle/diinpxt.h